#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.api.config.security;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 资源服务器对外直接暴露URL,如果设置context-path 要特殊处理
 *
 * @author tqccc
 */
@Slf4j
@Configuration
@ConditionalOnExpression("!'${symbol_dollar}{security.oauth2.client.ignore-urls}'.isEmpty()")
@ConfigurationProperties(prefix = "security.oauth2.client")
public class PermitAllUrlProperties {

    @Getter
    @Setter
    private List<String> ignoreUrls = new ArrayList<>();


}
